home *** CD-ROM | disk | FTP | other *** search
/ 17 Bit Software 6: Level 6 / 17 Bit - Level 6 (1998)(Epic Marketing)[!].iso / quartz / q0919.dms / q0919.adf / man / BaseName < prev    next >
Text File  |  1997-04-10  |  943b  |  36 lines

  1.  
  2.  
  3.  
  4.               BaseName(V1.3- arp component))
  5.  
  6.  
  7.  
  8.      NAME
  9.             BaseName - Display the Base (filename) of a pathname.
  10.  
  11.      SYNOPSIS
  12.           BaseName Path/a Suffix
  13.  
  14.      DESCRIPTION
  15.             Basename extracts the filename from a long pathname, 
  16.         displaying it to the standard output.  You can also give 
  17.         BaseName a suffix to delete.  The most common use for 
  18.         BaseName is in scripts, where it is used to generate new 
  19.         filenames from old.  This command is most useful with a 
  20.         shell that supports command substitution and piping.
  21.  
  22.      EXAMPLE
  23.             BaseName "DF0:Scoobie/Doobie/Foobar"
  24.             Foobar
  25.  
  26.             BaseName "DF0:Scoobie/Doobie/Foobar.c" .c
  27.             Foobar
  28.  
  29.  
  30.      OTHER
  31.             This command is new with V1.3 of Arp, it is not 
  32.         available with the Commodore distribution.
  33.  
  34.             It has been replaced by several internal calls in 
  35.         v2.x/3.x.
  36.